<?php
namespace app\search\upgrade;

class U2{
	public function up(){
		 into_sql("ALTER TABLE `qb_search_content` ADD `fid` INT( 10 ) NOT NULL COMMENT '栏目';",true,0);
		into_sql("ALTER TABLE `qb_search_content` ADD `mid` INT( 10 ) NOT NULL COMMENT '模型id';",true,0);
		into_sql("ALTER TABLE `qb_search_keyword` ADD `fid` VARCHAR( 256 ) NOT NULL COMMENT '栏目';",true,0);
		into_sql("ALTER TABLE `qb_search_keyword` ADD `type` TINYINT( 1 ) NOT NULL COMMENT '1显示 0隐藏';",true,0);
		 
	}
}